<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script>
window.testIsAsync = true;
window.onload = runRepaintAndPixelTest;

function repaintTest() {
  setTimeout(function() {
    requestAnimationFrame(function() {
      document.querySelector('svg').style.outline = "10px solid green";
      if (window.testRunner)
        finishRepaintTest();
    });
  }, 0);
};
</script>
<svg width="100" height="100">
  <rect width="100" height="100" fill="blue"/>
</svg>

